package com.example.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import mode.helloview;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface HelloMapper extends BaseMapper<helloview> {

    /*@Insert("INSERT INTO helloview(command,data,time,value) VALUE(#{command},#{data},#{time},#{value})")
    @SelectKey(statement = "SELECT seq id FROM helloview WHERE (name = 'helloview')", before = false, keyProperty = "id", resultType = int.class)
    int insert(helloview sqlEntity);
    // 查询全部
    @Select("SELECT * FROM helloview")
    List<helloview> selectAll();*/
}
